<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>欢迎页</title>
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
<div class="panel panel-default">
    <div style="padding: 10px 0 20px 10px;">
        <h3>&nbsp;&nbsp;&nbsp;个人信息</h3>
        <ul>
            <div th:if="${isAdmin} eq '1'">
                <li><label  th:text="姓名：+ ${user.name}"></label></li>
                <li><label th:text="登录账号：+ ${user.username}"></label></li>
                <li><label th:text="联系方式：+ ${user.mobile}"></label></li>
                <li><label th:text="邮箱：+ ${user.email}"></label></li>
            </div>
            <div th:if="${isAdmin} eq '0'">
                <li><label th:text="姓名：+ ${user.name}"></label></li>
                <li><label th:text="登录账号：+ ${user.userName}"></label></li>
                <li><label th:text="编号：+ ${user.userId}"></label></li>
                <li><label th:text="班级：+ ${user.unit}"></label></li>
                <li><label th:text="联系方式：+ ${user.mobile}"></label></li>
            </div>
        </ul>


    </div>
</div>
</body>
</html>